package com.example.demo.service;

import com.example.demo.dao.Cloth;
import com.example.demo.dto.ClothDTO;

import java.util.List;
import java.util.Set;

public interface ClothService {
    Set<ClothDTO> getClothByUserId(long userId);

    Set<ClothDTO> getClothByUserIdAndCategory(long userId, String category);

    Set<ClothDTO> getClothByUserIdAndSubcategory(long userId, String subcategory);
    ClothDTO getClothByUserIdAndUserClothId(long userId, int userClothId);

    Long addClothByUserId(ClothDTO clothDTO, long userId);
    void deleteClothByUserIdAndUserClothId(long userId, int userClothId);
    ClothDTO updateClothByUserIdAndUserClothId(long userId, int userClothId, String clothName, String imageUrl, String category, String subcategory);

}
